package com.fjnu.dao;

import com.fjnu.entity.User;

public interface UserDao {
    public int insert(User user);
    public int delete(String userId);
    public int updateById(String userId, User newUser);
    public int updatePasswordById(String userId, String oldPassword, String newPassword);
    public User selectById(String userId);
    public User selectByUsernameAndPassword(String username, String password);
    public int selectCount();
}